﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace WindowsFormsApplication15
{
    public partial class TextForm : Form
    {
        public TextForm()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            textBox1.Text = "Clicked";
            Console.Beep(3000, 100);
        }
private void button2_Click(object sender, EventArgs e)
        {
            textBox1.Text = "BOOM";
            Console.Beep(3000, 20000);
        }
    }
}
